home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 2 / MacMania 2.toast / Demo's / Tools&Utilities / MacDOS 1.0.1 / MacDOS™ 1.0.1 / MacDOS™ 1.0.1.rsrc / TEXT_150_INCR.txt < prev    next >
Encoding:
Text File  |  1993-10-23  |  780 b   |  17 lines

  1. Increments or extends values of variables (MacDOS only).
  2.  
  3. INCR [+ | -]var [BY {number | string}]
  4.  
  5.   [+|-]var  is the name of a variable possibly preceded by a plus
  6.             or minus sign. INCR uses the sign to decide whether to
  7.             operate at the end or at the beginning of the string
  8.             contained in var.
  9.   number    is a signed integer number which INCR adds to var when
  10.             var is also numeric. When var is not numeric and number
  11.             is positive, INCR appends/prepends spaces to var (when
  12.             number is negative, INCR removes characters instead).
  13.   string    is a non-numeric string. INCR appends/prepends it to var
  14.             regardless of whether var is numeric or not.
  15.  
  16. Defaults: "INCR¬†var" is equivalent to "INCR¬†+var¬†BY¬†1"
  17.